package com.zoo.diannaopeijian.service;

import com.zoo.diannaopeijian.comm.page.Page;
import com.zoo.diannaopeijian.domain.Ware;
import com.zoo.diannaopeijian.domain.WareParameterDetail;

import java.util.List;
import java.util.Map;

/**
 * Created by zx583 on 2018-01-18.
 */
public interface WareComponentService {
    boolean addWareComponent(WareParameterDetail wareParameterDetail);

    List<Map> getWareComponent(Integer wareid);

    boolean removeWareComponent(WareParameterDetail wareParameterDetail);

    List<Ware> getComponentWareWithPage(Ware ware, Page page, Integer componentid, Integer componentparameterdetailid);

    List<Ware> getComponentWare(Ware ware, Integer componentid, Integer componentparameterdetailid);

    List<Ware> getFuzzyComponentWareWithPage(Ware ware, Page page, Integer componentid, Integer componentparameterdetailid);

    List<Ware> getFuzzyComponentWare(Ware ware, Integer componentid, Integer componentparameterdetailid);
}
